package com.tengju.user.application.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "WeChatLoginDTO", description = "微信小程序登陆请求参数对象")
@NoArgsConstructor
public class WeChatLoginDTO {

    @ApiModelProperty("微信授权code")
    @NotNull(message = "微信授权code不能为空")
    private String authCode;

}
